home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <objc/Object.h>
-
- @interface Battery:Object
- {
- float ampCoefficients[6];
- float efficiency;
- float mass;
- float max;
- float peakDraw;
- BOOL plotAmps;
- BOOL plotCharge;
- BOOL plotVolts;
- double startingLevel;
- double present;
- float voltCoefficients[6];
- }
-
- // Override methods.
-
- - init;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;
-
- // This Class' methods
-
- - (float *)ampCoefficients;
- - setAmpCoefficients:(float *)theCoefficients;
-
- - (float)efficiency;
- - setEfficiency:(float)aNumber;
-
- - (float)mass;
- - setMass:(float)aNumber;
-
- - (float)max;
- - setMax:(float)aNumber;
-
- - (float)peakDraw;
- - setPeakDraw:(float)aNumber;
-
- - (BOOL)plotAmps;
- - setPlotAmps:(BOOL)flag;
-
- - (BOOL)plotCharge;
- - setPlotCharge:(BOOL)flag;
-
- - (BOOL)plotVolts;
- - setPlotVolts:(BOOL)flag;
-
- - (double)present;
- - setPresent:(double)aNumber;
-
- - (float *)voltCoefficients;
- - setVoltCoefficients:(float *)theCoefficients;
-
- - (float)powerRequested:(float)power forTime:(float)time;
- - getSetForRun;
- - finishedRun;
- - report:(NXStream *)stream;
-
- @end
-
-
-
-
-
-
-
-
-